home *** CD-ROM | disk | FTP | other *** search
/ The X-Philes (2nd Revision) / The X-Philes Number 1 (1995).iso / xphiles / hp48_1 / tvm.aga < prev    next >
Text File  |  1995-03-23  |  10KB  |  263 lines

  1. Article 6195 of comp.sys.handhelds:
  2. Path: en.ecn.purdue.edu!noose.ecn.purdue.edu!samsung!usc!sdd.hp.com!hp-pcd!hpcvra.cv.hp.com!rnews!hpcvbbs!akcs.kevin
  3. From: akcs.kevin@hpcvbbs.UUCP (Kevin Jessup)
  4. Newsgroups: comp.sys.handhelds
  5. Subject: TVM equations for the HP48SX
  6. Keywords: tvm time value of money
  7. Message-ID: <2816e506:2915comp.sys.handhelds@hpcvbbs.UUCP>
  8. Date: 25 Apr 91 14:40:20 GMT
  9. Lines: 249
  10.  
  11.  
  12. I have recently received a few net-mail requests for
  13. this baby so I am posting it once again.
  14.  
  15. ******************************************************
  16.          Documentation file for an HP48SX
  17.            Time Value of Money Equation
  18.  
  19.                                    Kevin P. Jessup
  20.                                    April 25, 1991
  21. ******************************************************
  22.  
  23. INTRODUCTION
  24. ------------
  25. HP48SX owners that also have the equation library card
  26. have available to them a time value of money (TVM)
  27. equation solver.  This software is a quick attempt to
  28. make a similar package available to those who do not
  29. have the card.  I am not sure how closely this equation
  30. emulates the technique used in the equation library
  31. card but it does appear to give equivalent results.
  32.  
  33. The program is based on the TVM equations that were used
  34. in the PPC ROM for the HP41.  The equations used there
  35. were adapted by me for use on the HP48.  The original
  36. authors of the PPC ROM version were Graeme Dennes and
  37. Don Dewey.
  38.  
  39. While the user interface is not quite as good as that
  40. used by the equation library card, I find it adequate.
  41. The equation used here also allows you to set different
  42. compounding and/or payment frequencies.  This is typical
  43. of European and Canadian Mortgages.
  44.  
  45. Documentation and a few examples follow.  The "ASC encoded"
  46. directory appears after the examples.  Let me know if you
  47. have any trouble.  Please feel free to modify, enhance or
  48. correct any errors in this package as you see fit.
  49.  
  50. Loading
  51. -------
  52. Transfer the TVM file to your 48.  Run the ASC-> utility
  53. to convert the string to a directory.  Store the directory
  54. as TVM.  Verify the following...
  55.  
  56.    Checksum:   # 96A8 (hex)
  57.    Byte count:    996
  58.  
  59. OPERATION
  60. ---------
  61. First, go to the TVM directory.  To start, simply
  62. hit [LEFT SHIFT] [SOLVE] then [SOLVR] to enter the
  63. equation solver application.
  64.  
  65. The proper equation is already named and stored
  66. under EQ.  In case you accidentally wipe it out,
  67. it is duplicated under the name TVM.
  68.  
  69. Do not store any other equations, programs or variables
  70. in this directory so as to avoid conflicts with the
  71. TVM operations.
  72.  
  73. KNOWLEDGE OF THE HP48SX SOLVER AND TIME VALUE OF MONEY
  74. TRANSACTIONS IS ASSUMED!!
  75.  
  76. In the following examples and indeed, for all equation
  77. solver inputs and outputs as used here, money received by
  78. you is positive.   Money payed out is negative.
  79.  
  80. Equation variables
  81. ------------------
  82. N     =    Number of periods
  83. I     =    % nominal interest rate for the period implied
  84.            by the compounding and payment frequencies.
  85.            If the payment frequency (PF) and compounding
  86.            frequency (CF) equal 12, this becomes the annual
  87.            percentage rate (APR).
  88. PV    =    Present Value
  89. PMT   =    Periodic payment
  90. FV    =    Future Value
  91. CF    =    Compounding Frequency
  92. PF    =    Payment Frequency
  93.  
  94. TVM equation control keys
  95. -------------------------
  96. BEG   =    Sets BEGIN mode (payments due at beginning of period).
  97. END   =    Sets END mode (payments due at end of period).
  98. RESET =    Sets END mode and sets N, PF and CF equal to 12.
  99.            All other variables are cleared!  Again, note
  100.            that I (% interest) now functions as APR (annual
  101.            percentage rate).
  102.  
  103. Example 1
  104. ---------
  105. Find the annual simple interest rate (%) for a
  106. $1000 loan to be repayed after one year with a
  107. single payment of $1187.50.
  108.  
  109. ENTER THIS         HIT THIS KEY        SEE THIS
  110. ----------         ------------        --------
  111.                    RESET               END mode
  112.                                        N=PF=CF=12
  113. 1000               PV                  PV: 1000
  114. -1187.5            PMT                 PMT: -1187.5
  115. 1                  N                   N: 1
  116.                    NXT
  117. 1                  CF                  cf: 1
  118. 1                  PF                  pf: 1
  119.                    NXT
  120.                    [LEFT SHIFT] I      Solving for I
  121.                                        I: 18.75
  122.  
  123. The interest rate is 18 and 3/4 percent.  That should
  124. have been obvious.  Now let's try some examples that
  125. are a bit more involved.
  126.  
  127. Example 2
  128. ---------
  129. $2000 is placed in a savings account that earns 5.25%
  130. interest compounded monthly.  What is its value after
  131. 5 years (5 * 12 = 60 periods)?
  132.  
  133. ENTER THIS         HIT THIS KEY        SEE THIS
  134. ----------         ------------        --------
  135.                    RESET               END mode
  136.                                        N=PF=CF=12
  137. -2000              PV                  PV: -2000
  138. 5.25               I                   I: 5.25 
  139. 60                 N                   N: 60
  140.                    [LEFT SHIFT] FV     Solving for FV
  141.                                        FV: 2598.8645319
  142.  
  143. The account made $598.86 in interest.
  144.  
  145. Example 3
  146. ---------
  147. A mortgage of $150,000 is to be fully amortized at 12%
  148. interest compounded monthly.  If end of period payments of
  149. $1600.00 are to be made, how many payments will be required?
  150.  
  151. ENTER THIS         HIT THIS KEY        SEE THIS
  152. ----------         ------------        --------
  153.                    RESET               END mode
  154.                                        N=PF=CF=12
  155. 12                 I                   I: 12
  156. 150000             PV                  PV: 150000
  157. 0                  FV                  FV: 0
  158. -1600              PMT                 PMT: -800
  159.                    [LEFT SHIFT] N      Solving for N
  160.                                        N: 278.64
  161.  
  162. The loan will be payed in 278.64 months or about 23 years.
  163.  
  164. Example 4 (Canadian Mortgage)
  165. -----------------------------
  166. Find the monthly end of period payments required
  167. to fully amortize a 25 year (25 * 12 = 300 periods)
  168. $85,000 loan at 11% compounded semiannually.
  169.  
  170. ENTER THIS         HIT THIS KEY        SEE THIS
  171. ----------         ------------        --------
  172. 2                  NXT CF              cf: 2
  173. 300                NXT N               N: 300
  174. 11                 I                   I: 11
  175. 85000              PV                  PV: 85000
  176.                    [LEFT SHIFT] PMT    Solving for PMT
  177.                                        PMT: -818.15
  178.  
  179. Example 5
  180. ---------
  181. What is the future value of $100 biweekly savings
  182. (26 periods/year) of $100 for 3 years at a nominal
  183. annual rate of 5.5% compounded daily.  Payments
  184. are to be made at the start of each period.
  185.  
  186. ENTER THIS         HIT THIS KEY        SEE THIS
  187. ----------         ------------        --------
  188.                    RESET               END mode
  189.                                        N=PF=CF=12
  190.                    NXT BEG             BEGIN mode
  191. 365                CF                  cf: 365
  192. 26                 PF                  pf: 26
  193. 78                 NXT N               N: 78
  194. 5.5                I                   I: 5.5
  195. -100               PMT                 PMT: -100
  196.                    [LEFT SHIFT] FV     Solving for FV
  197.                                        FV: 8489.32
  198.  
  199. Example 6
  200. ---------
  201. You wish to finance the purchase of a new car with
  202. a 3-year loan at 10.5% APR.  You will require a loan
  203. in the amount of $8,750.00.  What will your monthly
  204. payments be?
  205.  
  206. ENTER THIS         HIT THIS KEY        SEE THIS
  207. ----------         ------------        --------
  208.                    RESET               END mode
  209.                                        N=PF=CF=12
  210. 35                 N                   N: 36
  211. 10.5               I                   I: 10.5
  212. 8750               PV                  PV: 8750
  213.                    [LEFT SHIFT] PMT    Solving for PMT
  214.                                        PMT: -284.40
  215.  
  216. "ASC encoded" directory
  217. -----------------------
  218. [CUT HERE]
  219. %%HP: T(3)A(R)F(.);
  220. "69A20FF72970000000304565D43047A208BA2084E202005659C2A284E2020549
  221. 476BA184E2010E4D20B1EEDA184E203005D4459C2A284E2020549484E2030245
  222. 474EEDA176BA1EEDA19C2A284E2020549476BA184E2010E4D20B19C2A290DA1E
  223. EDA184E2020549450FA176BA184E2020646576BA1B213047A2084E2010E484E2
  224. 0109484E2020056584E203005D44584E2020646547A20C2A20F0000255435544
  225. 5D9D20E163284E2050255435544593632B2130B213047A20C2A20B0000245474
  226. D9D20E16329C2A284E206035544524547493632B2130B213047A20C2A20B0000
  227. 54E444D9D20E16324B2A284E206035544524547493632B2130B213084E202036
  228. 6684E20200766B2130B2130502006035544524547460D9D20E163278BF145632
  229. 84E203024547497632DCC023CE22AFE22C2A20F000024547494E45BF22C2A20B
  230. 000054E4445DF22C2A20F000002D6F6465676BA1C2A2050000ED2A2485A19C2A
  231. 2485A19C2A24A5A193632B2130EB00050255435544550D9D20E16324B2A278BF
  232. 178BF12ABF14563284E203005D44597632DCC024563284E20109497632DCC024
  233. 563284E2020646597632DCC024563284E2020056597632DCC0284E2060355445
  234. 24547433920100000000000021078BF178BF14563284E2010E497632DCC02456
  235. 3284E2020076697632DCC024563284E2020366697632DCC02C2A2091000E4D30
  236. 564D33464D31323ED2A2485A193632B2130441002054152047A208BA2084E202
  237. 005659C2A284E2020549476BA184E2010E4D20B1EEDA184E203005D4459C2A28
  238. 4E2020549484E2030245474EEDA176BA1EEDA19C2A284E2020549476BA184E20
  239. 10E4D20B19C2A290DA1EEDA184E2020549450FA176BA184E2020646576BA1B21
  240. 3047A2084E2010E484E20109484E2020056584E203005D44584E2020646547A2
  241. 0C2A20F00002554355445D9D20E163284E2050255435544593632B2130B21304
  242. 7A20C2A20B0000245474D9D20E16329C2A284E206035544524547493632B2130
  243. B213047A20C2A20B000054E444D9D20E16324B2A284E20603554452454749363
  244. 2B2130B213084E2020366684E20200766B2130B213030200205494208BA209C2
  245. A284E20109433920200000000000001050FA184E2020366650FA176BA184E202
  246. 0366684E2020076650FA1D20B19C2A290DA1B213097000302454743033920000
  247. 0000000000000F100010E410339201000000000000210B100020076620339201
  248. 000000000000210D100020366620339201000000000000210D10002005652033
  249. 9200000000000000000D100020646520339200000000000000000D1000109410
  250. 339200000000000000000B10003005D445303392000000000000000008A69"
  251. [CUT HERE]
  252.  
  253. The HP48SX utilities "ASC->" and "->ASC" were written by
  254. Dr. Bill Wickes and are available at various ftp sites and
  255. are proabaly on the net.
  256.  
  257. Kevin Jessup
  258. 9118 North 85th Street
  259. Milwaukee, WI 53224
  260. Data line:  (414)362-2020  (Milwaukee HP48SX BBS)
  261.  
  262.  
  263.